import com.lmf.vo.Student;

import java.util.ArrayList;
import java.util.List;

public class Hello {
    public static void main(String[] args) {
        List<Student> list=new ArrayList<>();
        Student student=new Student("李四同学",21);
        list.add(student);
        student=new Student("张三",22);
        list.add(student);
        list.add(new Student("王二",19));
        System.out.println(list);
        System.out.println(student.toString());

    }
}
